package com.hoshiicloud.saleorder.service.customer;

import com.baomidou.mybatisplus.extension.service.IService;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.user.entity.customer.GoodsCollectRecord;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 用户商品收藏记录 服务类
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-28
 */
public interface IGoodsCollectRecordService extends IService<GoodsCollectRecord> {

    Response insert(GoodsCollectRecord param);

    Response updateDataById(GoodsCollectRecord param);

    Response deleteDataById(String id);

    Response getDetail(String id);

    Response getList(QueryWrapper<GoodsCollectRecord> queryWrapper, String key);

    Response getPage(IPage<GoodsCollectRecord> page, QueryWrapper<GoodsCollectRecord> queryWrapper, String key);
}
